package com.atguigu.mybatisplus.model.query;

import com.atguigu.mybatisplus.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "用户分页查询对象")
public class UserPageQuery extends BasePageQuery {
    /**
     * 搜索关键词
     */
    @Schema(description = "关键字(用户名/昵称/手机号)")
    private String keywords;
    /**
     * 状态
     */
    @Schema(description = "状态")
    private Integer status;
    /**
     * 创建时间范围
     */
    @Schema(description = "创建时间范围")
    private List<String> createTime;
}
